///////////////////////////////////////////////////////////////////////////////////////////////////////
//SideScroller.js
//This is a script created by yours truly Manny Pineda and its is a script that is awesome. This script
//Is already pattened and shit so dont try anything you dimwit
///////////////////////////////////////////////////////////////////////////////////////////////////////
using UnityEngine;
using System.Collections;

public class Running : MonoBehaviour
	
{
	void Update ()
	{
		//This makes the stupid Sprite go left
		if (Input.GetKeyDown(KeyCode.LeftArrow))
		{
			Vector3 posisition = this.transform.position;
			posisition.x--;
			this.transform.position = posisition;
		}
		//This makes The Utterly Hopeless Sprite go Right
		if (Input.GetKeyDown(KeyCode.RightArrow))
		{
			Vector3 position = this.transform.position;
			position.x++;
			this.transform.position = position;
		}
		//This Makes it go up dimwit look at the code 
		if (Input.GetKeyDown(KeyCode.UpArrow))
		{
			Vector3 position = this.transform.position;
			position.y++;
			this.transform.position = position;
		}
		//Omg if left right and up have been used what do you think this will make it do
		if (Input.GetKeyDown(KeyCode.DownArrow))
		{
			Vector3 position = this.transform.position;
			position.y--;
			this.transform.position = position;
		}
	}
}